package com.uetoken.cn.bean;

import java.util.List;

/**
 * @author 谢杨
 * @time 2018/8/28 18:03
 * @class 描述:绑定优谷账号前的准备JavaBean类
 */
public class BindYGPrepareBean {

    /**
     * data : {"nodecode":"15000000","purseinfo":[{"pursename":"DOS","balance":270,"purseunit":"DOS"},{"pursename":"DOS库存","balance":830,"purseunit":"DOS"},
     * {"pursename":"CNV","balance":0,"purseunit":"元"},{"pursename":"USDT","balance":0,"purseunit":"美元"},{"pursename":"BTC","balance":0,"purseunit":"BTC"}]}
     * result : 1
     * message : 成功
     */

    private DataBean data;
    private int    result;
    private String message;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public static class DataBean {
        /**
         * nodecode : 15000000
         * purseinfo : [{"pursename":"DOS","balance":270,"purseunit":"DOS"},{"pursename":"DOS库存","balance":830,"purseunit":"DOS"},{"pursename":"CNV",
         * "balance":0,"purseunit":"元"},{"pursename":"USDT","balance":0,"purseunit":"美元"},{"pursename":"BTC","balance":0,"purseunit":"BTC"}]
         */

        private String nodecode;
        private List<PurseinfoBean> purseinfo;

        public String getNodecode() {
            return nodecode;
        }

        public void setNodecode(String nodecode) {
            this.nodecode = nodecode;
        }

        public List<PurseinfoBean> getPurseinfo() {
            return purseinfo;
        }

        public void setPurseinfo(List<PurseinfoBean> purseinfo) {
            this.purseinfo = purseinfo;
        }

        public static class PurseinfoBean {
            /**
             * pursename : DOS
             * balance : 270.0
             * purseunit : DOS
             */

            private String pursename;
            private double balance;
            private String purseunit;

            public String getPursename() {
                return pursename;
            }

            public void setPursename(String pursename) {
                this.pursename = pursename;
            }

            public double getBalance() {
                return balance;
            }

            public void setBalance(double balance) {
                this.balance = balance;
            }

            public String getPurseunit() {
                return purseunit;
            }

            public void setPurseunit(String purseunit) {
                this.purseunit = purseunit;
            }
        }
    }
}
